import { createStore } from "vuex";

//引入module
import logregmodule from "./logreg/index";
import storemodule from "./store/index";
import minemodule from "./mine/index";
import messagemodule from "./message/index";
import cartmodule from "./cart/index";

export default createStore({
  modules: {
    logreg: logregmodule,
    store: storemodule,
    mine: minemodule,
    message: messagemodule,
    cart: cartmodule,
  },
});
